
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>New Web Project</title>
		
		

		<script type="text/javascript">
		
			function login()
			{

				var CallParameters = new Object(); 
			    CallParameters["Server"] = "123456";
				CallParameters["AgentId"] = "12345";
				CallParameters["PassWord"] = "1234";
				CallParameters["Station"] = "61619366";
				
				
				document.SoftPhoneOCX.SoftPhoneFunction("1003",CallParameters);
				
			}

			function dail()
			{
				

				var CallParameters = new Object(); 
			    CallParameters["PhoneNumber"] = "123456678";
				
				
				
				document.SoftPhoneOCX.SoftPhoneFunction("2001",CallParameters);
				
			}

			function SoftPhoneEvent(SoftPhoneEventID,CallIVRInfo)
			{
				
				Event.innerHTML = SoftPhoneEventID ;
			}
		</script>
		
    </head>

    <body onload="">
    	<INPUT TYPE="button" value="login" onclick="login()">

		<INPUT TYPE="button" value="dail" onclick="dail()">

		<div id="Event"/>
        
		<iframe width=800 height=0 scrolling="yes" id="SoftPhoneOCX" name="SoftPhoneOCX" src="SoftPhoneOCX.html"></iframe>
    </body>
	
</html>
